<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/25
 * Time: 10:33
 */
namespace app\api\validate;

use think\Validate;

class Login extends Validate{
    protected $rule = [
        'third_Session' => 'require',
        'rawData' => 'require',
        'signature' => 'require',
        'encryptedData' => 'require',
        'iv' => 'require',
    ];
    protected $message  =   [
        'third_Session.require'      => 'third_Session必须',
        'rawData.require'       => 'rawData必须',
        'signature.require'      => 'signature必须',
        'encryptedData.require'      => 'encryptedData必须',
        'iv.require'       => 'iv必须',
    ];
}